package cn.ad.exception;

/**
 * Created by Administrator on 2016/10/19.
 */
public class GdtAdvertiserException extends RuntimeException {

    private int code;

    private String message;

    public GdtAdvertiserException() {
    }

    public GdtAdvertiserException(int code) {
        this.code = code;
    }

    public GdtAdvertiserException(int code, String message) {
        super(message);
        this.code = code;
        this.message=message;
    }


    public GdtAdvertiserException(Throwable cause) {
        super(cause);
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
